import platform = require('../../../../platform/common/baseCommon');
import appClient = require('../../../../platform/client/appClient');
import testPageView2 = require('../../../../project/test/config/client/test/testPageViewConfig2');


let moduleName = "platform.test";


@platform.addon("测试页面1", "测试页面1", moduleName)
@appClient.template("project/test/views/test/testPage1.html")
export class testPageView1 extends appClient.baseView {
    $btnNextStep?: JQuery = undefined;

    onAfterBind?() {
        this.$btnNextStep.click(() => {
            appClient.mainApplication.mainForm.navigate(testPageView2.defaultObject, '测试页面2');
        });
    }
}